﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace POVRay {
    public class SkySphere {
        public Pigment Pigment { get; set; }
        public Transformation Transformation { get; set; }

        public SkySphere() {
        }

        public SkySphere(Pigment pigment) {
            Pigment = pigment;
        }

        public SkySphere(Pigment pigment, Transformation transformation) {
            Pigment = pigment;
            Transformation = transformation;
        }

        public string ToString(int level) {
            string pigmentString = Pigment != null ? Scene.Indentation(level + 1) + Pigment.ToString(level + 1) + " " : "";
            string transformationString = Transformation != null ? Scene.Indentation(level + 1) + Transformation.ToString(level + 1) + " " : "";
            return "sky_sphere { " + pigmentString + transformationString + Scene.Indentation(level) + "}";
        }
    }
}
